<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:sijyp="http://java.sun.com/jsf/composite/sijyp"
	xmlns:ui="http://java.sun.com/jsf/facelets">

	<h:panelGrid rendered="#{bienManager.reading or bienManager.updating}"
		width="100%">
		<rich:tabPanel switchType="ajax">
			<rich:tab render="relacionJuridicaContainer :sijypMessages"
				id="tabRelacionJuridica" immediate="true"
				header="${msg['bienes.situacion.tabPanel.relacionJuridica']}">
				<ui:include src="situacion/relacionJuridica.xhtml" />
			</rich:tab>
			<rich:tab render="panelLd :sijypMessages" id="tabLimitacionDominio"
				immediate="true" 
				header="${msg['bienes.situacion.tabPanel.limitacionDominio']}">
				<div class="tabSpacer">
					<ui:include src="situacion/limitacionDominio.xhtml" />
				</div>
			</rich:tab>
			<rich:tab immediate="true"
				render="contenedorObligaciones :sijypMessages"
				
				header="${msg['bienes.situacion.tabPanel.obligaciones']}">
				<div class="tabSpacer">
					<ui:include src="situacion/obligaciones.xhtml" />
				</div>
			</rich:tab>
		</rich:tabPanel>
	</h:panelGrid>

</ui:composition>
